package org.eclipse.gmt.modisco.javast;

public class EnsCategorie {
 private Categorie ensCat[]={new Categorie(1,"developpeur"),new Categorie(2,"Ingenieur")};
 public EnsCategorie(){
	 
 }
 public int getNumCategorie(String nom){
	 int i=0;
	 while (i<2 && nom != ensCat[i].getNomCategorie())
		 i++;
	 
	 if (i==2){
		 return 0;
	 }
	 else return ensCat[i].getNumCategorie();
 }
}
